//
//  Alert.swift
//  SearchHeader
//
//  Created by 万孟超 on 2023/10/12.
//

import Cocoa

class Alert {
    static func showAlert(_ title: String = "提示", message: String, sureTitle: String) {
        let alert = NSAlert()
        alert.messageText = title
        alert.informativeText = message
        alert.alertStyle = .informational
        alert.addButton(withTitle: sureTitle)
        alert.runModal()
    }
}
